C# Boolean

80

private bool MinimapAutoSpot bf4 -

ReadProcessMemory(hProcess, (LPCVOID)(onlinePlayer + 0x14D0), &oClientSoldier, sizeof(DWORD_PTR), NULL);		if (!IsValid(oClientSoldier));		cout << "oClientSoldier = 0x" << hex << oClientSoldier << endl;		// I read shit		ReadProcessMemory(hProcess, (LPCVOID)(oClientSoldier + 0xBF0), &spottingTargetComponentData, sizeof(DWORD_PTR), NULL);		if (!IsValid(spottingTargetComponentData));		cout << "spottingTargetComponentData = 0x" << hex << spottingTargetComponentData << endl;		cout << "spottingTargetComponentData = " << dec << spottingTargetComponentData << endl; 		ReadProcessMemory(hProcess, (LPCVOID)(spottingTargetComponentData + 0x50), &spotType, sizeof(int), NULL);		cout << "spotType = 0x" << hex << spotType << endl << endl;

boolean in c# -

int val = 1;bool isAdult = Convert.ToBoolean(val);Console.WriteLine("Bool: " + isAdult.ToString());Console.WriteLine("Int: " + Convert.ToInt32(isAdult).ToString());

Comments

Submit
0 Comments